package osb.map.net;

import java.io.Serializable;


public class DataUser  implements Serializable{
	private String userId;      //用户ID
	private String userPwd;     //用户密码
	private String userName;    //用户名称
	private int userAccount;    //用户余额 
	//数据包构造
	public DataUser()
	{
	}
	public DataUser(String userId) //自动登录状态用户获取用户信息
	{
		this.userId=userId;
	}
	public DataUser(String userId,String userPwd) //用户登录消息      用户ID   用户密码
	{
		this.userId=userId;
		this.userPwd=userPwd;
	}
	public DataUser(String userId,String userName,int userAccount) //返回用户资料    用户ID  用户名   用户余额
	{
		this.userId=userId;
		this.userName=userName;
		this.userAccount=userAccount;
	}
	public DataUser(String userId,String userPwd,String str) //修改密码    用户ID   用户密码     空字符
	{
		this.userId=userId;
		this.userPwd=userPwd;
	}
	public DataUser(String userId,String userPwd,String userName,int userAccount) //用户注册    用户ID   用户密码     姓名      余额userId, userPwd, userName,userAccout
	{
		this.userId=userId;
		this.userPwd=userPwd;
		this.userName=userName;
		this.userAccount=userAccount;
	}
	public DataUser(String userId,int xiaolvid) //支付
	{
		this.userId=userId;
	}
	//赋值
	public String getUserId()
	{
		return userId;
	}
	public void setUserId(String userId)
	{
		this.userId = userId;
	}
	public String getUserPwd()
	{
		return userPwd;
	}
	public void setUserPwd(String userPwd)
	{
		this.userPwd = userPwd;
	}
	public String getUserName()
	{
		return userName;
	}
	public void setUserName(String userName)
	{
		this.userName = userName;
	}
	public int getUserAccount()
	{
		return userAccount;
	}
	public void setUserAccount(int userAccount)
	{
		this.userAccount = userAccount;
	}
}
